<?php
require( TMVC_BASEDIR . 'smarty'. DS . 'lib' . DS . 'Smarty.class.php');
class Mysmarty extends Smarty 
{
	public function __construct(){
		parent::Smarty();
		$smarty_dir=TMVC_BASEDIR . 'smarty'. DS . 'demo' . DS;
	    $this->compile_dir =  $smarty_dir.'templates_c/';
	    $this->config_dir = $smarty_dir.'configs/';
	    $this->cache_dir = $smarty_dir.'cache/';
	    // we will use our view directory for template files
	    $this->template_dir = TMVC_MYAPPDIR . 'views/';
	}
}
?>